
export const isUndefined = function(obj: any): obj is undefined {
  return (typeof obj === 'undefined');
};

export const isUndefinedOrNull = function(obj: any): obj is undefined | null{
  return (isUndefined(obj) || obj === null);
};